package com.duang.framework.render;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class JspViewRender extends AbstractPathViewRender {

	@Override
	public void render(String path, HttpServletRequest req,
			HttpServletResponse resp) throws RenderException {
		try {
			req.getRequestDispatcher(path).forward(req, resp);
		} catch (Exception e) {
			throw new RenderException(e);
		}
	}

}
